Tegra: flowctrl: rename tegra_fc_cpu_idle() to tegra_fc_cpu_powerdn()
authorVarun Wadekar <[email protected]>
Thu, 27 Aug 2015 04:55:29 +0000 (10:25 +0530)
committerVarun Wadekar <[email protected]>
Wed, 25 Nov 2015 01:14:30 +0000 (17:14 -0800)
This patch renames the tegra_fc_cpu_idle() function to a more appropriate
tegra_fc_cpu_powerdn() to better reflect its usage.

Signed-off-by: Varun Wadekar <[email protected]>
plat/nvidia/tegra/common/drivers/flowctrl/flowctrl.c
plat/nvidia/tegra/include/drivers/flowctrl.h

index b473dd6560a8d5047fe00d9ef1a9d3a360335d4a..357175895c46bec3bc9e7046d17cac89dc9b2a26 100644 (file)
@@ -98,9 +98,9 @@ static void tegra_fc_prepare_suspend(int cpu_id, uint32_t csr)
 }
 
 /*******************************************************************************
- * Suspend the current CPU
+ * Powerdn the current CPU
  ******************************************************************************/
-void tegra_fc_cpu_idle(uint32_t mpidr)
+void tegra_fc_cpu_powerdn(uint32_t mpidr)
 {
        int cpu = mpidr & MPIDR_CPU_MASK;
 
index 8bc821d111d2efd031b3485099630127a9071329..23909e8050240cdeea8d3c6f81eafa1a593900be 100644 (file)
@@ -73,8 +73,8 @@ static inline void tegra_fc_write_32(uint32_t off, uint32_t val)
        mmio_write_32(TEGRA_FLOWCTRL_BASE + off, val);
 }
 
-void tegra_fc_cpu_idle(uint32_t mpidr);
 void tegra_fc_cluster_idle(uint32_t midr);
+void tegra_fc_cpu_powerdn(uint32_t mpidr);
 void tegra_fc_cluster_powerdn(uint32_t midr);
 void tegra_fc_soc_powerdn(uint32_t midr);
 void tegra_fc_cpu_on(int cpu);